const {MongoClient} = require("mongodb");
const url = 'mongodb://121.36.200.5:12021';
const client = new MongoClient(url);
const dbName = 'C8';
async function main(){
    await client.connect();
    console.log('Connected successfully to server');
    const db = client.db(dbName);
    const collection = db.collection('F218')
    return collection;
}
module.exports = main;